import request from '@/utils/request'

// 建筑垃圾产生趋势   "type":1 // 按月统计
export function timeTypeStatic(data) {
    return request({
        url: '/data/static/selectOrderCountByTimeType',
        method: 'post',
        data: data
    })
}
  // 垃圾类型占比（统计）
export function typeCountStatic(data) {
    return request({
    url: '/data/static/selectOrderWasterTypeCount',
    method: 'post',
    data: data
    })
}
// 联单总数,运输总量, 运输次数 ,处置总量
export function countNumStatic(data) {
    return request({
        url: '/data/static/countNum',
        method: 'post',
        data: data
    })
}

// 垃圾类型统计
export function statusStatic(data) {
    return request({
        url: '/data/static/selectOrderByStatus',
        method: 'post',
        data: data
    })
}

// 工地统计
export function orderListStatic(query) {
    return request({
        url: '/data/static/selectOrderList',
        method: 'get',
        params: query
    })
}

// 项目工地区域分布
export function constructionSiteAreaStatic(data) {
    return request({
        url: '/data/static/selectConstructionSiteArea',
        method: 'post',
        data: data
    })
}